Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@sscotth
sscotth / keystroke the clipboard extended.workflow
Last active May 29, 2026 15:41
Paste as keystrokes (macOS)
# Why?
# To paste text into windows that normally don't allow it or have access to the clipboard.
# Examples: Virtual machines that do not yet have tools installed, websites that hijack paste
#
# Extended vs Simple?
# * Includes an initial delay to allow you to change active windows
# * Adds small delay between keypresses for slower responding windows like SSH sessions
# * Better handling of numbers
# * VMWare bug fix
#
@aparente
aparente / SKILL.md
Last active May 29, 2026 15:41
tufte-viz Claude Code skill — Edward Tufte data visualization principles

name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays

@kzkv
kzkv / x10-autodrive.ino
Last active May 29, 2026 15:39
FA X-10 Autodrive
/*
Frankford Arsenal X-10 Autodrive microcontroller code by Tom Kazakov
Licensed under CC-BA-SA 4.0
Full project desription:
https://www.thingiverse.com/thing:6810400
*/
#include <BasicStepperDriver.h>
#include <RunningMedian.h>
@0xdevalias
0xdevalias / music-apis-and-dbs.md
Last active May 29, 2026 15:39
A collection of music APIs, databases, and related tools
@sathishshan
sathishshan / youtube-dl.txt
Last active May 29, 2026 15:36
Download youtube private or member videos
#single video
youtube-dl --cookies youtube.com_cookies.txt "URL"
#playlist
youtube-dl --yes-playlist --cookies youtube.com_cookies.txt "URL"
You can use: --playlist-start, --playlist-end, --playlist-reverse or --playlist-items to achieve this goal.
#Note: cookie should be in Netscape format
@kokoye2007
kokoye2007 / PRICING.md
Last active May 29, 2026 15:35
Vibe Code Tours — student setup (Linux/macOS/WSL): nvm+Node22, uv+Python3.12, git, Claude Code + verify

API Pricing & Free-Tier Cheat Sheet

Quick reference for picking a provider/CLI on day 1. All numbers verified early-mid 2026 — confirm live before you depend on them. Pricing and quotas change frequently (especially Chinese providers and free-tier limits).

TL;DR — what to use day 1

Goal Pick Why
Zero cost, zero card Gemini CLI with personal Google account Generous free tier, no card required, 60 req/min
Zero cost + multi-provider opencode + Gemini API key (AI Studio free tier) Model-agnostic CLI; swap providers later without changing tool